<?php

/**
 * member components.
 *
 * @package    cpfaizenay
 * @subpackage member
 * @author     Manu
 * @version    1.0
 */
class memberComponents extends sfComponents
{
 /**
  * Executes index action
  *
  * @param sfRequest $request A request object
  */
  public function executeHomeEvolution(sfWebRequest $request)
  {
    $id_user = $this->getUser()->getGuardUser()->getId();
    $this->member_info = Doctrine::getTable('Licensee')->getMemberUserInfo($id_user)->fetchArray();
    $this->licensee_point_list = Doctrine::getTable('LicenseePoint')->getLicenseeUserPoint($id_user)->fetchArray();
  }
}
